//
//  LocationSensor.h
//  UAVClient
//
//  Created by visu4l on 11. 7. 1..
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <CoreLocation/CoreLocation.h>

@interface LocationSensor : NSObject <CLLocationManagerDelegate>{
    
    CLLocationManager *locationManager;
    
    long latitude;
    long longitude;
    short heading;
    short altitude;
    short speed;
    
    double locationAcc;
    double altitudeAcc;
    
}

@property long latitude;
@property long longitude;
@property short heading;
@property short altitude;
@property short speed;

@property double locationAcc;
@property double altitudeAcc;

-(void) locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation;
-(void) locationManager:(CLLocationManager *)manager didUpdateHeading:(CLHeading *)newHeading;

@end
